package org.robertux.supplies.entities;

import java.math.BigDecimal;
import java.util.Calendar;

public class Item {
	private Kind kind;
	private String name;
	private MetricUnit unit;
	private BigDecimal price;
	private String description;
	private Calendar duration;
	
	public Item(Kind kind, String name, MetricUnit unit, BigDecimal price,
			String description, Calendar duration) {
		super();
		this.kind = kind;
		this.name = name;
		this.unit = unit;
		this.price = price;
		this.description = description;
		this.duration = duration;
	}

	public Kind getKind() {
		return kind;
	}

	public void setKind(Kind kind) {
		this.kind = kind;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public MetricUnit getUnit() {
		return unit;
	}

	public void setUnit(MetricUnit unit) {
		this.unit = unit;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Calendar getDuration() {
		return duration;
	}

	public void setDuration(Calendar duration) {
		this.duration = duration;
	}
	
	
}
